package com.ai.model.comparator;

import java.util.Comparator;

import com.ai.model.edu.cms.info.InfoPublishDetail;

public class InfoPublishDetailComparator implements Comparator<InfoPublishDetail> {

    @Override
    public int compare(InfoPublishDetail one, InfoPublishDetail other) {
            return one.getInfoSort().compareTo(other.getInfoSort());
    }

}
